<?php defined('InShopNC') or exit('Access Invalid!');?>
<?php echo getChat($layout);?>
<!--
<div id="cti">
	<div class="wrapper">
		<ul>
			< ?php if ($output['contract_list']) {?>
			< ?php foreach($output['contract_list'] as $k=>$v){?>
			< ?php if($v['cti_descurl']){ ?>
			<li>
				<a href="< ?php echo $v['cti_descurl'];?>" target="_blank">
					<span class="icon"> <img style="width: 60px;" src="< ?php echo $v['cti_icon_url_60']; ?>" /></span>
					<span class="name"> < ?php echo $v['cti_name']; ?> </span>
				</a>
			</li>
			< ?php }else{ ?>
			<li>
				<span class="icon"> <img style="width: 60px;" src="< ?php echo $v['cti_icon_url_60']; ?>" /> </span>
				<span class="name"> < ?php echo $v['cti_name']; ?> </span>
			</li>
			< ?php }}}?>
		</ul>
	</div>
</div>
-->
<div class="w">
	<div class="footer_top">
    	<div class="footer_inner_top">
        	<div class="footer_inner_top_l">
            	<img src="<?php echo SHOP_TEMPLATES_URL;?>/images/new/footer_icon_03.png">
                <div class="footer_inner_top_l_font">
        			<p style="color:#555;font-weight:bold;line-height:48px;font-size:16px;">好货</p>
        			<p style="color:#999;font-size:14px;">正品行货，精致服务</p>
                </div>
    		</div>
            <div class="footer_inner_top_l">
            	<img src="<?php echo SHOP_TEMPLATES_URL;?>/images/new/footer_icon_1_03.png">
                <div class="footer_inner_top_l_font">
        			<p style="color:#555;font-weight:bold;line-height:48px;font-size:16px;">好快</p>
        			<p style="color:#999;font-size:14px;">多仓直发，急速配送</p>
                </div>
    		</div>
            <div class="footer_inner_top_l">
            	<img src="<?php echo SHOP_TEMPLATES_URL;?>/images/new/footer_icon_2_03.png">
                <div class="footer_inner_top_l_font">
        			<p style="color:#555;font-weight:bold;line-height:48px;font-size:16px;">好便宜</p>
        			<p style="color:#999;font-size:14px;">天天低价，畅选无忧</p>
                </div>
    		</div>
        </div>
	</div>
</div>
<div id="faq">
	<div class="wrapper">
		<?php if(is_array($output['article_list']) && !empty($output['article_list'])){ ?>
		<ul>
			<?php foreach ($output['article_list'] as $k=> $article_class){ ?>
			<?php if(!empty($article_class)){ ?>
			<li>
				<dl class="s<?php echo ''.$k+1;?>">
					<dt><?php if(is_array($article_class['class'])) echo $article_class['class']['ac_name'];?></dt>
					<?php if(is_array($article_class['list']) && !empty($article_class['list'])){ ?>
					<?php foreach ($article_class['list'] as $article){ ?>
					<dd>
						<a href="<?php if($article['article_url'] != '')echo $article['article_url'];else echo urlMember('article', 'show',array('article_id'=> $article['article_id']));?>" title="<?php echo $article['article_title']; ?>"> <?php echo $article['article_title'];?> </a>
					</dd>
					<?php }}?>
				</dl>
			</li>
			<?php }}?>
			<li class="cooperation">
				<dl>
					<dt>商家合作</dt>
					<dd>
						<p>错过天猫？别再错过我们！</p>
						<p>金银商城开启全新旅程！</p>
						<a href="<?php echo urlShop('show_joinin', 'index');?>" class="btn" target="_blank"><span>关于入驻</span>&gt;</a>
					</dd>
				</dl>
			</li>
		</ul>
		<?php }?>
	</div>
</div>
<div id="footer">
	<div class="wrapper">
		<!--
		<p class="p0">
			<i class="w-1005">
				<?php if(is_array($output['$link_list']) && !empty($output['$link_list'])) {foreach($output['$link_list'] as $val) {?>
				<a href="<?php echo $val['link_url']; ?>" target="_blank" title="<?php echo $val['link_title']; ?>"><?php echo str_cut($val['link_title'],16);?></a>
				<span>|</span>
				<?php }} ?>
			</i>
		</p>
		-->
		<p class="p">
			<a href="<?php echo SHOP_SITE_URL;?>"><?php echo $lang['nc_index'];?></a>
			<?php if(!empty($output['nav_list']) && is_array($output['nav_list'])){?>
			<?php foreach($output['nav_list'] as $nav){?>
			<?php if($nav['nav_location'] == '2'){?>| <a <?php if($nav['nav_new_open']){?>target="_blank" <?php }?>href="<?php switch($nav['nav_type']){case '0':echo $nav['nav_url'];break; case '1':echo urlShop('search', 'index', array('cate_id'=>$nav['item_id']));break; case '2':echo urlMember('article', 'article',array('ac_id'=>$nav['item_id']));break; case '3':echo urlShop('activity', 'index',array('activity_id'=>$nav['item_id']));break;}?>"><?php echo $nav['nav_title'];?></a>
			<?php }}}?>
		</p>
		<br />
		<p class="p1">版权所有 湖南金福银贵信息科技有限公司  <?php echo $output['setting_config']['icp_number']; ?>  Copyright© 2015-2016 找金银网 All Right Reserved</p>
		<p class="p1">服务热线：0735-2651 688  Email：service@zhaojinyin.cn  联系地址：湖南省郴州市有色金属产业园福城大道1号  邮编：432000</p>
		<?php echo html_entity_decode($output['setting_config']['statistics_code'],ENT_QUOTES); ?>
		<br />
	</div>
</div>
<?php if (C('debug') == 1){?>
<div id="think_page_trace" class="trace">
	<fieldset id="querybox">
		<legend><?php echo $lang['nc_debug_trace_title'];?></legend>
		<div> <?php print_r(Tpl::showTrace());?> </div>
	</fieldset>
</div>
<?php }?>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/jquery.cookie.js"></script>
<link href="<?php echo RESOURCE_SITE_URL;?>/js/perfect-scrollbar.min.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/qtip/jquery.qtip.min.js"></script>
<link href="<?php echo RESOURCE_SITE_URL;?>/js/qtip/jquery.qtip.min.css" rel="stylesheet" type="text/css">
<!-- 对比 -->
<script src="<?php echo SHOP_RESOURCE_SITE_URL;?>/js/compare.js"></script>
<script type="text/javascript">
$(function(){
	// Membership card
	$('[nctype="mcard"]').membershipCard({type:'shop'});
});
</script>